package com.coconut.domain.strategy.service.rule.chain;

import com.coconut.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Author YaoBoning
 * @Date 2024/9/12 11:18
 * @Description 抽奖策略规则责任链接口
 */
public interface ILogicChain extends ILogicChainArmory, Cloneable {

    /**
     * 责任链接口
     *
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return 奖品对象
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);

}

